<?php
namespace App\Controllers;
use Framework\Database;
use Framework\Validation;
class UserController{
    protected $db;
    public function _construct()
    {
        $config = require basePath('config/db.php');$this->db = new Database($config);
    }
/**
 * @return void
 */
    public function login()
    {

        loadView('users/login');
    }
    /**
     * @return void
     */
    public function create()
    {
        loadView('users/create');
    }
}
